<include file="Public/head"/>
<body class="no-skin">
<include file="Public/header"/>
<div class="main-container" id="main-container">
    <script type="text/javascript">
        try {
            ace.settings.check('main-container', 'fixed')
        } catch (e) {
        }
    </script>

    <include file="Public/sidebar"/>
    <div class="main-content">
        <div class="main-content-inner">
            <!-- #section:basics/content.breadcrumbs -->
            <include file="Public/breadcrumbs"/>

            <!-- /section:basics/content.breadcrumbs -->
            <div class="page-content">
                <include file="Public/set"/>

                <!-- /section:settings.box -->
                <div class="row">
                    <div class="col-xs-12">
                        <!-- PAGE CONTENT BEGINS -->
                        <div class="cf">
                            <a class="btn btn-info" href="{:U('add')}" value="">新增</a>
                        </div>
                        <div class="space-4"></div>
                            <table class="table table-striped table-bordered" id="dowebok">
                                <thead>
                                <tr>
                                    <th>名称</th>
                                    <th>图标</th>
                                    <th>会员费</th>
                                    <th>每天任务数</th>
                                    <th>有效天数</th>
                                    <th>一级分佣比列（%）</th>
                                    <th>二级分佣比列（%）</th>
                                    <th>一级推荐比列（%）</th>
                                    <th>二级推荐比列（%）</th>
                                    <th>开通网红</th>
                                    <th>接单任务</th>
                                    <th>排序</th>
                                    <th>操作</th>
                                </tr>
                                </thead>
                                <tbody>
                                <empty name="list">
                                	<tr>
                                		<td colspan="14" style="text-align:center;">暂时没有数据</td>
                                	</tr>
                                <else/>
                                	<volist name="list" id="vo">
                                    <tr>
                                        <td>{$vo['title']}</td>
                                        <td>
                                        	<img src="{$vo.icon}" width="100"/>
                                        </td>
                                        <td>{$vo['price']}</td>
                                        <td>{$vo['day_num']}</td>
                                        <td>{$vo['expri_day']}</td>
                                        <td>{$vo['fenyong_1']}</td>
                                        <td>{$vo['fenyong_2']}</td>
                                        <td>{$vo['jiangli_1']}</td>
                                        <td>{$vo['jiangli_2']}</td>
                                        <td>
                                        	<if condition="$vo['is_red'] eq 0">否</if>
                                        	<if condition="$vo['is_red'] eq 1">是</if>
                                        </td>
                                        <td>
                                        	<if condition="$vo['is_r'] eq 0">否</if>
                                        	<if condition="$vo['is_r'] eq 1">是</if>
                                        </td>
                                        <td>{$vo['o']}</td>
                                        <td><a href="{:U('update',array('id'=>$vo['id']))}"><i
                                                class="ace-icon fa fa-pencil bigger-100"></i>修改</a>&nbsp;&nbsp;<a
                                                href="{:U('delete',array('id'=>$vo['id']))}" onclick="if(!confirm('确认删除此记录？')){return false;}"
                                                class="dellink"><i class="ace-icon fa fa-trash-o bigger-100 red"></i>删除</a>
                                        </td>
                                    </tr>
                                </volist>
                                </empty>
                                </tbody>
                            </table>
                        <!-- PAGE CONTENT ENDS -->
                    </div><!-- /.col -->
                </div><!-- /.row -->
            </div><!-- /.page-content -->
        </div>
    </div><!-- /.main-content -->
    <include file="Public/footer"/>

</div><!-- /.main-container -->

<include file="Public/footerjs"/>
<!-- inline scripts related to this page -->
</body>
</html>
